<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class User{
	
	private $id;
	private $username;
	private $firstname;
	private $lastname;
	private $password;
	private $email;
	
	public function User($params){
		$this->id = $params[ID];
		$this->username = $params[USERNAME];
		$this->firstname = $params[FIRSTNAME];
		$this->lastname = $params[LASTNAME];
		$this->password = $params[PASSWORD];
		$this->email = $params[EMAIL];
	}
	
	public function getID(){
		return $this->id;
	}
	public function getUsername(){
		return $this->username;
	}
	public function getFirstname(){
		return $this->firstname;
	}
	public function getLastname(){
		return $this->lastname;
	}
	public function getPassword(){
		return $this->password;
	}
	public function getEmail(){
		return $this->email;
	}
}
